/**
 * 
 */
package de.saumya.webfortune.client;

class Topic {

  final String name;
  final String linkText;
  final String url;
  final String displayName;
  final int max;

  Topic(final String name, final String displayName, final int max,
      final String linkText, final String url) {
    this.name = name;
    this.url = url;
    this.linkText = linkText;
    this.displayName = displayName;
    this.max = max;
  }
  
  Topic(final String name, 
      final String displayName, final int max) {
    this.name = name;
    this.url = null;
    this.linkText = null;
    this.displayName = displayName;
    this.max = max;
  }

}